package me.humin.nio.server;

import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.IOException;
import java.net.Socket;

/**
 * @author humin
 * @create 2018-7-4
 */
public class NioServerTest {

    private static final int port = 35801;

    public static void main(String[] args) {
        Socket socket = null;
        BufferedInputStream bis = null;
        BufferedOutputStream bos = null;
        try {
            socket = new Socket("127.0.0.1", port);
            bos = new BufferedOutputStream(socket.getOutputStream());
            bis = new BufferedInputStream(socket.getInputStream());

        } catch (IOException e) {
            e.printStackTrace();
        }
    }

}
